package com.tinycloud.miracll.product.service.impl;

import java.util.List;

import com.tinycloud.common.datasource.annotation.Slave1;
import com.tinycloud.common.datasource.annotation.Slave3;
import com.tinycloud.common.datasource.annotation.Slave4;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import com.tinycloud.common.core.utils.StringUtils;
import org.springframework.transaction.annotation.Transactional;
import com.tinycloud.miracll.product.domain.ProductKeyProcessDeviateConfDetail;
import com.tinycloud.miracll.product.mapper.ProductKeyProcessDeviateConfMainMapper;
import com.tinycloud.miracll.product.domain.ProductKeyProcessDeviateConfMain;
import com.tinycloud.miracll.product.service.IProductKeyProcessDeviateConfMainService;

/**
 * ERP重控点位偏差配置主Service业务层处理
 * 
 * @author tiny
 * @date 2021-12-07
 */
@Service
@Slave1
public class ProductKeyProcessDeviateConfMainServiceImpl implements IProductKeyProcessDeviateConfMainService 
{
    @Autowired
    private ProductKeyProcessDeviateConfMainMapper productKeyProcessDeviateConfMainMapper;

    /**
     * 查询ERP重控点位偏差配置主
     * 
     * @param device ERP重控点位偏差配置主主键
     * @return ERP重控点位偏差配置主
     */
    @Override
    public ProductKeyProcessDeviateConfMain selectProductKeyProcessDeviateConfMainByDevice(String device)
    {
        return productKeyProcessDeviateConfMainMapper.selectProductKeyProcessDeviateConfMainByDevice(device);
    }

    /**
     * 查询ERP重控点位偏差配置主列表
     * 
     * @param productKeyProcessDeviateConfMain ERP重控点位偏差配置主
     * @return ERP重控点位偏差配置主
     */
    @Override
    public List<ProductKeyProcessDeviateConfMain> selectProductKeyProcessDeviateConfMainList(ProductKeyProcessDeviateConfMain productKeyProcessDeviateConfMain)
    {
        return productKeyProcessDeviateConfMainMapper.selectProductKeyProcessDeviateConfMainList(productKeyProcessDeviateConfMain);
    }

}
